package com.pets.service;

import com.pets.pojo.CourseManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pets.utils.Result;

import java.time.LocalDate;

/**
 * <p>
 * 课程管理 服务类
 * </p>
 *
 * @author 小陳同學
 * @since 2024-05-13
 */
public interface ICourseManagementService extends IService<CourseManagement> {

    Result register(CourseManagement courseManagement);

    Result deleteById(Integer id);

    Result update(CourseManagement courseManagement);

    Result list(String courseName, LocalDate beginTime, LocalDate endTime, Integer userID);
}
